package name.hankc.spring;

import org.springframework.context.annotation.Configuration;

import name.hankc.spring.bean.PersonX;

import org.springframework.context.annotation.Bean;

@Configuration
public class ComponentConstructorConfiguration {

  @Bean
  public PersonX personX() {
    return new PersonX("test-person-anno-byconstructor", 18);
  }
}
